﻿using nplJobsCommon.JobSeeker;
using nplJobsDAL.Common;
using nplJobsDAL.Select;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace nplJobsBLL.ProcessJobSeeker
{
    public class ProcessSelectUserTypeByEmail : IBusinessLogic
    {
        public ProcessSelectUserTypeByEmail() { }
        public UserType UserType { get; set; }
        public string EMail { get; set; }
        public void invoke()
        {
            SelectUserTypeByEmail selectJobseeker = new SelectUserTypeByEmail();
            selectJobseeker.EMail = this.EMail;
            this.UserType = selectJobseeker.GetUserTypeByEmail();
        }
    }
}

